package ai.peanut.cloudoneb;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages={"ai.peanut.cloudoneb"})
@ServletComponentScan("ai.peanut.cloudoneb")
@EnableFeignClients(basePackages = {"ai.peanut.cloudonea"})
public class CloudOnebApplication {

	public static void main(String[] args) {
		SpringApplication.run(CloudOnebApplication.class, args);
	}

}
